* nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize
authorJan D. <jan.h.d@swipnet.se>
Mon, 27 Aug 2012 18:53:10 +0000 (20:53 +0200)
committerJan D. <jan.h.d@swipnet.se>
Mon, 27 Aug 2012 18:53:10 +0000 (20:53 +0200)
commitc595c200e92c9334cdd0f7db0e71c96184867f4c
treea051f3c607d13ab3c750457b2c5e15ab221d9236
parentedb7ec6ae8b5b808e17b8db46f4d367da805704b
* nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize
dialog_return.
(windowShouldClose:): Use stop instead of stopModalWithCode.
(clicked:): Ditto, and also set dialog_return.
(timeout_handler:): Use stop instead of abortModal.  Send a dummy
event.
(runDialogAt:): Make ret Lisp_Object.  Set it from dialog_return when
modal loop returns.

* nsterm.h (NSPanel): New class variable dialog_return.
src/ChangeLog
src/nsmenu.m
src/nsterm.h